package com.neusoft.chenhanhua.d0917;

import java.io.File;

public class Files1 {
	public static void main(String[] args) {
		Filesq();
		
	}

	public static void Filesq() {
		String p1="files" + File.separator + "2.txt";
		String p2="files" + File.separator + "1.txt";
		File f1=new File(p1);
		File f=new File(p2);
		System.out.println(f1.canWrite());
		System.out.println(f.compareTo(f1));
	}
}
